import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/get_base_control_measure_by_id_entity.g.dart';

@JsonSerializable()
class GetBaseControlMeasureByIdEntity {

	GetBaseControlMeasureByIdEntity();

	factory GetBaseControlMeasureByIdEntity.fromJson(Map<String, dynamic> json) => $GetBaseControlMeasureByIdEntityFromJson(json);
	String? id;
	String? riskMeasureName;
	String? riskEventId;
	String? riskEventName;
	String? riskObjectId;
	String? riskObjectName;
	String? riskUnitId;
	String? riskUnitName;
	String? companyCode;
	String? associationMeasureId;
	String? dataSrc;
	String? dataSrcLabel;
	String? riskMeasureDesc;
	String? troubleshootContent;
  double? consequenceReduction;
	double? probabilityReduction;
	String? classify1;
	String? classify1Label;
	String? classify2;
  String? classify2Label;
	String? classify3;
	String? deleted;
  String? workType;
	String? createDate;
	String? createBy;
	String? createById;
	String? updateById;
	String? updateDate;
	String? updateBy;
	String? hazardCode;
	int? status;
	String? warehouseId;
	int? isUpload;
	String? riskMeasureLevel;
	String? riskMeasureLevelLabel;
	dynamic taskNum;

	Map<String, dynamic> toJson() => $GetBaseControlMeasureByIdEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
